/*
 * Copyright (c) 2013-2018 上海汇数数据. All rights reserved.
 * @(#) TextValue.java 2018-08-05 22:51
 */

package cn.jh.common.core.domain;

/**
 * The text/value pair interface.
 *
 * @author Fuchun
 * @since 1.0
 */
public interface TextValue<T, V> {

    /**
     * Returns this text.
     */
    T getText();

    /**
     * Returns this value.
     */
    V getValue();
}
